import request from '@/utils/request'

// 查询参股基金_历史业绩列表
export function listBfHistoryAchievement(query) {
  return request({
    url: '/bf/bfHistoryAchievement/list',
    method: 'get',
    params: query
  })
}

// 查询参股基金_历史业绩详细
export function getBfHistoryAchievement(id) {
  return request({
    url: '/bf/bfHistoryAchievement/' + id,
    method: 'get'
  })
}

// 保存参股基金_历史业绩
export function saveBfHistoryAchievement(data) {
  return request({
    url: '/bf/bfHistoryAchievement/save',
    method: 'post',
    data: data
  })
}

// 删除参股基金_历史业绩
export function delBfHistoryAchievement(id) {
  return request({
    url: '/bf/bfHistoryAchievement/' + id,
    method: 'delete'
  })
}
